package com.hqyj.springboot;

public class Test {
    public static void main(String[] args) {
        int[] a = new int[31];
        for (int i =2;i <= a.length;i++){
            a[0] = 1;
            a[1] = 1;
            a[i] = a[i - 1] + a[i - 2];
            System.out.println("a" + i + "=" +a[i]);
        }

    }

}
